package cn.edu.scau.cmi.linjinyong.safeComposite;

import java.util.HashSet;
import java.util.Set;;

public class Team extends Organization {
	private Set<Organization> teammates = new HashSet<>();

	public Team() {}
	public Team(String name) {
		this.name = name;
	}
	
	public void addTeammate(Organization teammate) {
		this.teammates.add(teammate);
	}
	
	public void deleteTeammate(Organization teammate) {
		this.teammates.remove(teammate);
	}
}
